package com.cskaoyan.bean.promote;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class Topic {
    private Integer id;

    @NotNull
    private String title;
    @NotNull
    private String subtitle;
    @NotNull
    private BigDecimal price;

    private String readCount;

    private String picUrl;

    private Integer sortOrder;

    private Integer[] goods;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;
    @NotNull
    private String content;
}